<?php
class NumericDropdown extends Dropdown
{
	function __construct($name, $value, $min = 0, $max = 99)
	{
		parent::__construct($name, $value);
		
		$this->addOption('Geen', 0);
		
		for($i = 0; $i<= $max; $i++)
		{
			$this->addOption($i, $i);
		}
		
		$this->addAttributes(array('class' => 'numeric'));
	}
}